﻿using System.Threading;
using Microsoft.Phone.Controls;
using WP7Sample.Resources;

namespace WP7Sample
{
    public partial class MainPage : PhoneApplicationPage
    {
        // Constructor
        public MainPage()
        {
            InitializeComponent();
            
            Resource.Culture = Thread.CurrentThread.CurrentCulture;

            // set ui thread culture
            HelloWorld.Text = Resource.HelloWorld;
        }
    }
}